package org.example.platform.beans.factory;

import lombok.Data;

/**
 * 定义
 */
@Data
public class BeanDefinition {
    private Class bean;

    private PropertyValues propertyValues;

   public BeanDefinition(Class bean){
       this.bean=bean;
   }

    public BeanDefinition(Class bean,PropertyValues propertyValues){
        this.bean=bean;
        this.propertyValues=propertyValues != null ? propertyValues : new PropertyValues();
    }



    public Class getBean(){
        return bean;
    }


}
